package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品会员评价详细表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("shop_comment_record")
public class ShopCommentRecord extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商品主键id
     */
    @TableField("shop_product_id")
    private Integer shopProductId;
    /**
     * 订单主键id
     */
    @TableField("order_id")
    private Integer orderId;
    /**
     * 店铺主键id
     */
    @TableField("store_id")
    private Integer storeId;
    /**
     * 商城会员主键id
     */
    @TableField("member_id")
    private Integer memberId;
    /**
     * 商城会员名称
     */
    @TableField("member_name")
    private String memberName;
    /**
     * 商城会员头像
     */
    @TableField("member_head_image")
    private String memberHeadImage;
    /**
     * 商品评分
     */
    @TableField("shop_score")
    private Integer shopScore;
    /**
     * 商品服务评分
     */
    @TableField("shop_servie")
    private Integer shopServie;
    /**
     * 商品物流评分
     */
    @TableField("shop_logistics")
    private Integer shopLogistics;
    /**
     * 商品评价类型(0:好评 1:中评 2:差评)
     */
    @TableField("comment_type")
    private Integer commentType;
    /**
     * 商品是否带图(0:否 1:是)
     */
    @TableField("is_image")
    private Integer isImage;
    /**
     * 商品评价图片地址(以逗号分隔)
     */
    @TableField("image_path")
    private String imagePath;
    /**
     * 商品评价内容
     */
    private String context;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
